
namespace ZR.Model.FacManage.Dto
{
    /// <summary>
    /// 库位信息查询对象
    /// </summary>
    public class FacLocQueryDto : PagerInfo 
    {
        /// <summary>
        /// 仓库Id 
        /// </summary>
        public string WhseId { get; set; }
        /// <summary>
        /// 库位编码 
        /// </summary>
        public string LocCode { get; set; }
        /// <summary>
        /// 库位名称 
        /// </summary>
        public string LocName { get; set; }
        /// <summary>
        /// 库位类型 
        /// </summary>
        public string LocType { get; set; }
        /// <summary>
        /// 库位类别 
        /// </summary>
        public string LocCategory { get; set; }
        /// <summary>
        /// 库位状态 
        /// </summary>
        public string LocStatus { get; set; }
    }

    /// <summary>
    /// 库位信息输入输出对象
    /// </summary>
    public class FacLocDto
    {
        /// <summary>
        /// 库位主键 
        /// </summary>
        [Required(ErrorMessage = "库位主键不能为空")]
        public string LocId { get; set; }

        /// <summary>
        /// 仓库Id 
        /// </summary>
        [Required(ErrorMessage = "仓库Id不能为空")]
        public string WhseId { get; set; }

        /// <summary>
        /// 库位编码 
        /// </summary>
        [Required(ErrorMessage = "库位编码不能为空")]
        public string LocCode { get; set; }

        /// <summary>
        /// 库位名称 
        /// </summary>
        [Required(ErrorMessage = "库位名称不能为空")]
        public string LocName { get; set; }

        /// <summary>
        /// 库位类型 
        /// </summary>
        [Required(ErrorMessage = "库位类型不能为空")]
        public string LocType { get; set; }

        /// <summary>
        /// 库位类别 
        /// </summary>
        [Required(ErrorMessage = "库位类别不能为空")]
        public string LocCategory { get; set; }

        /// <summary>
        /// 库位状态 
        /// </summary>
        [Required(ErrorMessage = "库位状态不能为空")]
        public string LocStatus { get; set; }

        /// <summary>
        /// 出库路线次序 
        /// </summary>
        public string AllocCode { get; set; }

        /// <summary>
        /// 入库路线次序 
        /// </summary>
        public string PutawayCode { get; set; }

        /// <summary>
        /// 热度值 
        /// </summary>
        public int? Popular { get; set; }

        /// <summary>
        /// 是否空库位 
        /// </summary>
        [Required(ErrorMessage = "是否空库位不能为空")]
        public bool IsEmpty { get; set; }

        /// <summary>
        /// 是否有托盘 
        /// </summary>
        [Required(ErrorMessage = "是否有托盘不能为空")]
        public bool HasTray { get; set; }

        /// <summary>
        /// X 
        /// </summary>
        public string X { get; set; }

        /// <summary>
        /// Y 
        /// </summary>
        public string Y { get; set; }

        /// <summary>
        /// Z 
        /// </summary>
        public string Z { get; set; }

        /// <summary>
        /// Agv地址 
        /// </summary>
        public string AgvAddress { get; set; }

        /// <summary>
        /// 计划号 
        /// </summary>
        public string PlanCode { get; set; }

        /// <summary>
        /// 包装编号 
        /// </summary>
        public string PackageCode { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 仓库描述信息
        /// </summary>
        public string WhseInfo { get; set; }

    }
}